package com.ling.pl.autoproject.definition.entity.model;

import com.ling.pl.core.commons.annotation.ModelProperty;

import javax.persistence.Column;

/**
 * 关系属性
 */
public class EntityRelationProperty {
    @Column(name = "NAME", length = 36)
    @ModelProperty(comment = "中文名称", des = "来源property")
    String name;

    @Column(name = "TABLE_NAME", length = 150)
    @ModelProperty(comment = "表/文档/名称", des = "来源property")
    String columnName;

    @Column(name = "ENTITY_ID", length = 36)
    @ModelProperty(comment = "实体")
    String entityId;

    @Column(name = "ENTITY_ID", length = 36)
    @ModelProperty(comment = "关系id")
    String relationId;

    @Column(name = "ENTITY_ID", length = 36)
    @ModelProperty(comment = "属性")
    String Property;

    @Column(name = "ENTITY_ID", length = 36)
    @ModelProperty(comment = "数据类型", des = "外键值......")
    String relationPropertyType;
}
